package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 技能提升培训表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_skill_upgrad_training")
@ApiModel(value = "技能提升培训表")
public class SkillUpgradTraining extends Model<SkillUpgradTraining> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "用户编号")
    private String userId;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "培训内容")
    private String content;

    @ApiModelProperty(value = "培训时间")
    private Date trainingTime;

    @ApiModelProperty(value = "培训单位")
    private String trainingUnit;

    @ApiModelProperty(value = "地点")
    private String trainingSite;

    @ApiModelProperty(value = "培训讲师")
    private String trainingInstructors;

    @ApiModelProperty(value = "费用")
    private String cost;

    @ApiModelProperty(value = "类型(1-公派  2-自己提出的申请)")
    private Integer type;

    @ApiModelProperty(value = "自申原因")
    private String reason;

    @ApiModelProperty(value = "参加培训原因")
    private String trainingReasons;

    @ApiModelProperty(value = "申请人签名")
    private String applicantSignature;

    @ApiModelProperty(value = "是否删除(1-已删除 2-未删除)")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}